﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace JQ.SAAS.DTO.OrgMenuSet
{
    /// <summary>
    /// 创建机构菜单对象
    /// </summary>
    public class MenuSetCreateDto
    {

        /// <summary>
        /// 菜单类型 0: 页面菜单 9: 目录
        /// </summary>      
        [EnumValue(0,9)]
        public int sMenuType { get; set; }

        /// <summary>
        /// 页面菜单，菜单Id
        /// </summary>           
        [RequiredIF("sMenuType",0)]
        public string sMenuId { get; set; }

        /// <summary>
        /// 显示图标
        /// </summary>           
        public string sShowIco { get; set; }

        /// <summary>
        /// 菜单显示名称
        /// </summary>           
        public string sShowName { get; set; }

        /// <summary>
        /// 显示排序
        /// </summary>           
        public int iSort { get; set; }

        /// <summary>
        /// 父节点Id
        /// </summary>
        public string sParentId { get; set; }
    }
}
